projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a7fa7
)
Add the conloglevel option (#1682)
author
Florian Fainelli
<
[email protected]
>
Wed, 13 Jun 2007 17:41:54 +0000
(17:41 +0000)
committer
Florian Fainelli
<
[email protected]
>
Wed, 13 Jun 2007 17:41:54 +0000
(17:41 +0000)
SVN-Revision: 7613
package/base-files/files/etc/init.d/boot
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/init.d/boot
b/package/base-files/files/etc/init.d/boot
index 528d922a28a61955a9090cc40f98bf7360005ca8..7181f8b0043781713be9fde4bc1e03571a04d88c 100755
(executable)
--- a/
package/base-files/files/etc/init.d/boot
+++ b/
package/base-files/files/etc/init.d/boot
@@
-10,6
+10,9
@@
system_config() {
config_get hostname "$cfg" hostname
echo "${hostname:-OpenWrt}" > /proc/sys/kernel/hostname
+ config_get conloglevel "$cfg" conloglevel
+ [ -n "$conloglevel" ] && dmesg -n "$conloglevel"
+
config_get log_ip "$cfg" log_ip
syslogd -C16 ${log_ip:+-L -R $log_ip}
klogd